cl-preloaded.el: Partly revert last change
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Mar 2024 21:27:29 +0000 (17:27 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Mar 2024 21:27:29 +0000 (17:27 -0400)
commite5d824b632a68430535f6e94d911871eb0f3f772
tree0f3c9800b48e4899d7d3d5b7d6dacc336adcd129
parented85132740b39c147647be1831abb64a3f514d57
cl-preloaded.el: Partly revert last change

The change caused type-check errors in auth-source where they use
`:type function` constraints on object slots and expect those to
be able to hold symbols.

* lisp/emacs-lisp/cl-preloaded.el (function): Revert last change.

* test/src/data-tests.el (data-tests--cl-type-of): Use `cl-functionp`
rather than `functionp` to test `function`.
lisp/emacs-lisp/cl-preloaded.el
test/src/data-tests.el